import service from '@/utils/request'

/**
 * 用于上传文件
 * @param {*} data
 * @returns
 */
export function uploadAPI (data) {
  return service({
    url: '/upload',
    method: 'POST',
    data
  })
}
